const path=require('path')
console.log(path);

const inputPath = path.resolve(__dirname,'./src/index.js')
console.log(inputPath);
const outputUmdPath = path.resolve(__dirname,'./dist/imooc.datav.js')
const outputEsPath = path.resolve(__dirname,'./dist/imooc.datav.es.js')

module.exports={
    input:inputPath,
    output:[{
        file:outputUmdPath,
        format:'umd',
        name:'imoocDatav'
    },{
        file:outputEsPath,
        format:'es'
    }]
}
